package proxy
{
	import flash.display.Sprite;
	
	public class SerializationProxyExample extends Sprite
	{
		public function SerializationProxyExample()
		{
			init();
		}
		private function init():void{
			var data:XML = <product>
								<title>widget</title>
								<price>19.5</price>
						   </product>;
			var product:IProduct = new XMLProductProxy(data);
			trace(product.getTitle() + "$" + product.getPrice());
		}
	}
}